//
//  SelectFactoryFoldCellModel.h
//  Rail
//
//  Created by huyuchen on 2018/3/19.
//  Copyright © 2018年 Hychen. All rights reserved.
//

#import <Foundation/Foundation.h>

@interface SelectFactoryFoldCellModel : NSObject

@property (nonatomic, strong) id obj;
//层次等级
@property (nonatomic, copy) NSString *level;

//子层个数
@property (nonatomic, assign) NSUInteger belowCount;
//父层模型
@property(nullable,nonatomic) SelectFactoryFoldCellModel *supermodel;
//自层模型数组
@property(nonatomic,strong) NSMutableArray<SelectFactoryFoldCellModel *> *submodels;

- (NSArray *)open;
- (void)closeWithSubmodels:(NSArray *)submodels;

@end
